package com.cyou.qb.face.entity.trans;
/**
 * 用户信息修改返回值实体
 * @author wangwenlong
 *
 */
public class ReplyInfoCheck<T> {
	

	/*
	 * 常用应答状态码
	 */
	//成功
	public static final int CODE_OK = 0;
	//失败
	public static final int CODE_FAILED = 500;
	
	//参数为空错误
	public static final int CODE_NULL_PARAM = 401;
	//参数类型不匹配
	public static final int CODE_WRONG_PARAM_TYPE = 402;
	//参数取值不正确
	public static final int CODE_WRONG_PARAM_VALUE = 403;

	private int code;		//状态码
	private String desc;		//描述信息
	private T data;
	public ReplyInfoCheck(){
		super();
	}
	
	public ReplyInfoCheck(int code, String desc,T data) {
		super();
		this.code = code;
		this.desc = desc;
		this.data = data;
	}

	
	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
